package com.example.plant.util.http

import com.example.plant.util.http.Bean.ClassifyBean
import com.example.plant.util.http.Bean.ResultBean
import retrofit2.Call
import retrofit2.http.*

interface GetClassify{
    @FormUrlEncoded
    @Headers("Content-Type: application/x-www-form-urlencoded","Connection:Keep-Alive")
    @POST("rest/2.0/image-classify/v1/plant")
    fun getClassify(
        @Query("access_token")access_token:String,
        @Field("image")image:String
    ): Call<ClassifyBean>
}
